<?php
class login extends CI_Controller {

    public function __construct() {
        parent::__construct();
        $this->load->helper('form');
    }
    
    public function index() {
        $formLogin['formulario_login'] = array('class' => 'form-horizontal');
        $this->load->view('login',$formLogin);
    }
    
    public function login(){ 
        $this->load->view('admin/home');
    }

}